#ifndef _DEV_H_
#define _DEV_H_

#include <device.h>


extern device_t *dev_key, *dev_led, *dev_buz,*dev_isl2906,*dev_re200,*dev_pir;

void dev_show(void);
int dev_type_get(void *out, int maxlen);
int dev_type_cmp(const void *dt, size_t len);
int dev_ver_get(void *out, int maxlen);
int dev_ver_cmp(const void *ver, size_t len);
int dev_mycard_get(uint8_t mycard[]);

#endif
